package org.jeecgframework.core.common.model.json;

import java.util.ArrayList;
import java.util.List;

public class TreeBa {
    String id;
    String name;
    String iconCls;
    List<ZTree> children = new ArrayList<>();


    public TreeBa() {
    }

    public TreeBa(String id, String text) {
        this.id = id;
        this.name = text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public List<ZTree> getChildren() {
        return children;
    }

    public void setChildren(List<ZTree> children) {
        this.children = children;
    }
}
